package cn.com.surker.production.entity;

import cn.com.surker.base.BaseEntity;
import cn.com.surker.excel.ExcelCell;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 生产泵送日报表
 * </p>
 *
 * @author admin
 * @since 2024-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("production_pump_day_price")
public class PumpDayPrice extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	public PumpDayPrice() {
	}

	public PumpDayPrice(Long orgId, String day, Long pumpConId, Long pumpType, Long pumpNorms, Integer priceType, Double price, Double stere, Double totalPrice, Long indentId, Integer isAuto) {
		this.orgId = orgId;
		this.day = day;
		this.pumpConId = pumpConId;
		this.pumpType = pumpType;
		this.pumpNorms = pumpNorms;
		this.priceType = priceType;
		this.price = price;
		this.stere = stere;
		this.totalPrice = totalPrice;
		this.indentId = indentId;
		this.isAuto = isAuto;
	}

	/**
	 * 标识
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 公司ID
	 */
	private Long orgId;

	/**
	 * 日期
	 */
	@ExcelCell(value = "日期", sort = 0)
	private String day;

	/**
	 * 生产泵送合同ID
	 */
	private Long pumpConId;

	/**
	 * 泵送类型
	 */
	private Long pumpType;

	/**
	 * 泵送规格
	 */
	private Long pumpNorms;

	/**
	 * 价格类型,0为单价;1为补贴价
	 *
	 */
	private Integer priceType;

	/**
	 * 泵送单价
	 */
	@ExcelCell(value = "泵送单价", sort = 18)
	private Double price;

	/**
	 * 泵送总价
	 */
	@ExcelCell(value = "泵送总价", sort = 19)
	private Double totalPrice;

	/**
	 * 含税泵送单价
	 */
	private Double taxPrice;
	/**
	 * 含税泵送总价
	 */
	private Double taxTotalPrice;
	/**
	 * 实际的泵送方量
	 */
	@ExcelCell(value = "实际用量", sort = 8)
	private Double stere;

	/**
	 * 任务单id
	 */
	private Long indentId;

	/**
	 * 泵送量差
	 */
	private Double diffValue;

	/**
	 * 量差原因
	 */
	private String diffRemark;

	/**
	 * 是否结算
	 */
	private Integer isBill;

	/**
	 * 是否人工
	 */
	private Integer isAuto;

	/**
	 * 是否审核
	 */
	private Integer examine;

}
